home *** CD-ROM | disk | FTP | other *** search
- Path: news3.digex.net!usenet
- From: jlp@apti.com (James L. Preston)
- Newsgroups: comp.lang.c++
- Subject: Embedding Scheme in a C++ program
- Date: 29 Feb 1996 15:02:10 -0500
- Organization: Advanced Power Technologies, Inc.
- Sender: jlp@sandbox.apti.com
- Message-ID: <tuu409ew8t.fsf@sandbox.apti.com>
- NNTP-Posting-Host: apti.com
- X-Newsreader: Gnus v5.0.8
-
-
- I have a large application (actually a group of apps that
- chat over sockets) that is in C++ with a Motif GUI,
- and now I want to put a scripting language in it.
- Some folks have told me to use a scheme-based embeddable
- interpreter (elk and guile are the main candidates)
- and I am poking around for info on the scheme groups and sites,
- but I thought that I would put some feelers out over here
- to see how people feel about this who are not coming
- from the Lisp-Scheme-Academic Comp. Sci. world.
- Not to cast any aspersions at all, in fact, perhaps the
- whole project should have been glued together with
- scheme or tcl/tk in the first place, but it wasn't
- and now I am trying to figure out the best way to
- go.
-
- A couple of questions that I have are:
-
- Have any of you C++ programmers embedded scheme into
- an existing application as a scripting/extension language?
-
- If so, do you have any examples (something smaller than
- unroff, perhaps)
-
- How bad is the learning curve on this scheme stuff?
-
- Should I bail out and do my own stuff with yacc??
- (All of the lispers say "No, then you would be writing
- yet another tool control language.")
-
- I would appreciate any input from folks who have done this sort
- of thing, because I want to do a nice job and this
- embeddable interpreter deal looks like the
- direction that this kind of thing will be taking in general.
-
- later,
- jlp
-